package com.zpy.SmartChargeStation.netty.server;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * description: Netty启动类
 */
@Slf4j
@SpringBootApplication
//启动线程池
@EnableAsync
public class NettyApplication {//implements CommandLineRunner {
    public static void main(String[] args) {
        SpringApplication.run(NettyApplication.class,args);
        log.info("SpringBoot Start....(验证Netty是否阻塞SpringBoot主线程序)");
    }
}
